<?php
    require_once './model/authros.php';
    $obj = new Authors();
    $authors = $obj->select();
?>
<div id="sidebar2" class="sidebar">
    <ul>
        <li>
            <h2>Users</h2>
            <ul>
                <?php foreach ($authors as $author):?>
                <li><a href="#"><?php echo $author['fullname'] ?></a></li>
                <?php endforeach; ?>
                
            </ul>
        </li>			
    </ul>
</div>